package com.letoken.platform.repo.app.req.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author wyl
 * @date 2023/1/4 18:22
 * @Version 1.0
 */
@Data
@ApiModel(value = "按顺序返回币种比例请求对象", description = "按顺序返回币种比例请求对象")
public class AppUserSwapProportionReq {

    @ApiModelProperty(name = "fromType", value = "闪兑比例源代币类型（USDT或LET）", required = true, example = "1")
    @NotNull(message = "80203006")
    private Integer fromType;

    @ApiModelProperty(name = "toType", value = "闪兑比例返回代币类型（USDT或LET）", required = true, example = "2")
    @NotNull(message = "80203006")
    private Integer toType;

}
